home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / hdf / unix / examples.lha / examples / ann / README < prev   
Encoding:
Text File  |  1990-09-13  |  2.0 KB  |  64 lines

  1. #ifdef RCSID
  2. static char RcsId[] = "@(#)$Revision: 1.2 $";
  3. #endif
  4. /*
  5. $Header: /pita/work/HDF/dev/RCS/test/annotations/README,v 1.2 90/06/27 11:24:15 mfolk beta $
  6.  
  7. $Log:    README,v $
  8. # Revision 1.2  90/06/27  11:24:15  mfolk
  9. # Revised by Mike Folk.
  10. # Revision 1.1  90/04/19  11:10:52  mfolk
  11. # Initial revision
  12. */
  13.            ******* Annotations routines *******
  14.  
  15.  
  16. This directory contains several program that illustrate the use of 
  17. the HDF annotations interface.  They can also be used to test
  18. the basic functionality of the interface after installing the
  19. HDF library.  
  20.  
  21. Some programs are for testing the HDF object annotation routines.  
  22. Others are for testing HDF file annotation routines.
  23.  
  24. There are C versions of all of the programs.  Corresponding (but
  25. not identical) Fortran programs exist for some of the programs.
  26.  
  27. Programs for testing HDF object annotation interface:
  28.  
  29.    putSDS_RISan <outfile> <height> <width> <reps>:  writes a file
  30.        containingg some number (<reps>) of SDSs and images.  The
  31.        dimensions of the images are all <height>x<width>.
  32.        Two out of every three SDSs are given annotations, but
  33.        all RISs are given annotations.
  34.  
  35.    getSDSan <infile>: prints all of the annotations for all of
  36.        of the SDSs in <infile>.
  37.  
  38.    getSDSlablist <infile>: gets SDS label list for <infile>
  39.    getSDSlablistF:  FORTRAN version.
  40.  
  41.    ann.test: a script to test the above routines.  The results of 
  42.        running ann.test are shown in the file ann.test.result. This
  43.        script works only with the C routines.
  44.  
  45.    get1anF: a test program to get the *second* SDS label and description
  46.        from a file.
  47.  
  48. Programs for testing HDF file annotations:
  49.  
  50.    file_ann_test:  reads and writes several file ids and one file
  51.         description, then reads back all file ids and the first
  52.         file description from the same file.
  53.    file_ann_testF:  FORTRAN version.
  54.  
  55. One ancillary routine is included:
  56.  
  57.     gen2Dfloat contains a program to generate a 2D array of floating
  58.     point numbers for storing in an SDS.  It is called by putSDS_RISan.
  59.  
  60.  
  61.  
  62.